{% load media %}{% load controls %}
{% extends "admin_content.html" %}

{% block content-selected %}{% endblock %}
{% block users-selected %}class="selected"{% endblock %}
{% block filebrowser-selected %}{% endblock %}

{% block subheader %}
	<h1>amministrazione utenti</h1>
{% endblock %}


{% block content %}
<div class="fieldset">
  <div id="group_table">
    <h1> Seleziona gruppo da modificare </h1>
    <table>
      <thead>
	<tr>
	  <th>#</th>
	  <th>Nome </th>
	</tr>
      </thead>
      {% for g in gs %}
      <tr>
	<td>{{ forloop.counter }}</td>
	<td><a href="/admin/groups/{{g.name}}">{{ g.name }}</a></td>
      </tr>
      {% endfor %}
    </table>
    <div id="add_group_button"><a href="/admin/groups/add">Aggiungi Gruppo</a></div>
  </div>
</div>
{% endblock %}
